import os

def get_path(filename):
    root_path=os.path.dirname(os.path.dirname(__file__))
    new_path=os.path.join(root_path,'datas',filename)
    return new_path

def get_log_path():
    root_path = os.path.dirname(os.path.dirname(__file__))
    new_path = os.path.join(root_path, 'logs')
    return new_path